[GWT] Change Element's node name?

Posted by rybz on Stack Overflow See other posts from Stack Overflow or by rybz
Published on 2010-05-21T06:53:10Z Indexed on 2010/05/21 7:00 UTC
Read the original article Hit count: 247

Filed under:
|
|
|
|

Is it possible to change the element's node name in GWT? I mean something like this:

HTML h = new HTML();
h.getElement().setNodeName("mydiv")

while there is no setNodeName() method for Element.

I'd like to acquire <mydiv>some contents</mydiv> instead of default tag <div>some contents</div>

Thanks for any hints.

© Stack Overflow or respective owner

Related posts about gwt

Related posts about dom